<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>模板字符串</title>
</head>
<body>
<script>
    let age = 18;
    // 模板字符串 外面用 反引号`` 里面用${}声明变量
    document.write(`我今年${age}岁了`)
</script>
</body>
</html>